Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmark tests for TMVA Sofie #239

Open
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

lmoneta
Copy link
Member

@lmoneta lmoneta commented Nov 25, 2021

Ann new tests for TMVA SOFIE including tests using ONNXRuntime and LWTNN

Add corresponding Find.. cmake modules to find the needed package
Make also use of FindBLAS to find teh correct BLAS version. Need to use -DBLA_VENDOR to configure to the right BLAS type installed in the system.
For example -DBLA_VENDOR= -DBLA_VENDOR=Intel10_64lp_seq to use the sequential MKL library that is used in the benchmark presented at ACAT

This PR is built on top of #236 tnaks to Federico Sossai

@sitongan sitongan assigned sitongan and unassigned sitongan Dec 2, 2021
@sitongan sitongan self-requested a review December 2, 2021 22:44
@lmoneta lmoneta force-pushed the tmva_sofie_benchmark branch from 11d7d82 to 5018380 Compare March 8, 2022 09:37
@lmoneta lmoneta force-pushed the tmva_sofie_benchmark branch from 03cf673 to 8f79b34 Compare April 3, 2022 10:10
@lmoneta lmoneta force-pushed the tmva_sofie_benchmark branch 2 times, most recently from 0e87df1 to bebe103 Compare July 4, 2022 17:14
@lmoneta lmoneta force-pushed the tmva_sofie_benchmark branch from babcd71 to 9c562ba Compare March 6, 2024 09:47
fsossai and others added 20 commits June 4, 2024 16:25
Disable automatic generation of test code, using template benchmark is trivial to add a new test
Add corresponding files (including new .dat wiles for weights in compiled_models)
Use also a given number of events (e.g. 64)
Add also all needed input files
for SOFIE tests

Remove then header file from repository

Remove also obsolate onnx file that cannot be parsed by SOFIE

Add new FindONNXRuntime and a new FindLWTNN to find the required dependency package. Use minimial FIndModule file, which requires only to define an env variable to find the package
Add optimization flags for auto-vectorization : -mavx2 -fno-signaling-nans -fno-trapping-math.
With autovec, COnv1D test is 3 times faster.
These changes are used to produce the benchmark results presented ad ACAT.
@lmoneta lmoneta force-pushed the tmva_sofie_benchmark branch from 9c562ba to 0f948b0 Compare June 4, 2024 14:26
Do not use empty path when creating Session classes

Improve tests by adding possibility to pass location of input files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants